﻿<%@page contentType="text/vnd.wap.wml; charset=utf-8"%>
<%@ page import="business.*"%>  
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org//DTD//wml_1.1.xml"> 
<WML> 
<%
          String purl = request.getParameter("purl");
          Test test=new Test();
          String a1 = request.getParameter("a1"); 
          String a2 = request.getParameter("a2");     
	      String a3 = request.getParameter("a3"); 
	     
			if (a3.indexOf("_") != -1) {
			String[] bn = a3.split("_");
			byte[] abc = new byte[bn.length];
			for (int i = 0; i < bn.length; i++) {
				abc[i] = Byte.parseByte(bn[i]);
			}
			a3 = test.byte2String(abc);  
			}
		String b1 = request.getParameter("b1"); 
        String b2 = request.getParameter("b2");     
	    String b3 = request.getParameter("b3"); 
	    if (b3.indexOf("_") != -1) {
			String[] bn = b3.split("_");
			byte[] abc = new byte[bn.length];
			for (int i = 0; i < bn.length; i++) {
				abc[i] = Byte.parseByte(bn[i]);
			}
			b3 = test.byte2String(abc);  
			}
			
			
		String c1 = request.getParameter("c1");   
        String c2 = request.getParameter("c2");     
	    String c3 = request.getParameter("c3"); 
	    if (c3.indexOf("_") != -1) {
			String[] bn = c3.split("_");
			byte[] abc = new byte[bn.length];
			for (int i = 0; i < bn.length; i++) {
				abc[i] = Byte.parseByte(bn[i]);
			}
			c3 = test.byte2String(abc);  
			}
			
		String d1 = request.getParameter("d1"); 
        String d2 = request.getParameter("d2");     
	    String d3 = request.getParameter("d3"); 
	    if (d3.indexOf("_") != -1) {
			String[] bn = d3.split("_");
			byte[] abc = new byte[bn.length];
			for (int i = 0; i < bn.length; i++) {
				abc[i] = Byte.parseByte(bn[i]);
			}
			d3 = test.byte2String(abc);     
			}
			System.out.println("%%%%%%"+a1);                     
			 %>
<CARD id="card1" title="视频">      
<p align="left">
   更多视频：<br />
   <img src="<%=a2 %>" /><br />
    <a href="<%=a1.replaceAll("<>","&amp;")%>"> <%=a3 %></a><br /> 
       
    <img src="<%=b2 %>" /><br />
    <a href="<%=b1.replaceAll("<>","&amp;")%>"> <%=b3 %></a><br />    
      
    <img src="<%=c2 %>" /><br />
    <a href="<%=c1.replaceAll("<>","&amp;")%>"> <%=c3 %></a><br />
    
    <img src="<%=d2 %>" /><br />  
    <a href="<%=d1.replaceAll("<>","&amp;")%>"> <%=d3 %></a><br />                      
      <%if(purl.equals("null")){ %>           
<a href="/game3.0/">返回</a>        
<%} else{%>
<a href="/game3.0/<%=purl%>.html">返回</a>     
<%} %>
    <br />         
</p>
</CARD> 
</WML>